package cn.iocoder.yudao.module.shop.convert.crosstenant;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.shop.controller.admin.crosstenant.vo.*;
import cn.iocoder.yudao.module.shop.dal.dataobject.crosstenant.ShopCrossTenantDO;

/**
 * 跨店铺 Convert
 *
 * @author 曹建伟
 */
@Mapper
public interface ShopCrossTenantConvert {

    ShopCrossTenantConvert INSTANCE = Mappers.getMapper(ShopCrossTenantConvert.class);

    ShopCrossTenantDO convert(ShopCrossTenantCreateReqVO bean);

    ShopCrossTenantDO convert(ShopCrossTenantUpdateReqVO bean);

    ShopCrossTenantRespVO convert(ShopCrossTenantDO bean);

    List<ShopCrossTenantRespVO> convertList(List<ShopCrossTenantDO> list);

    PageResult<ShopCrossTenantRespVO> convertPage(PageResult<ShopCrossTenantDO> page);

    List<ShopCrossTenantExcelVO> convertList02(List<ShopCrossTenantDO> list);

}
